﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <script src="/js/jquery-1.6.2.min.js" type="text/javascript"> </script>
    <script src="/js/bootstrap.min.js" type="text/javascript"> </script>
    <script src="/js/knockout-1.2.1.js" type="text/javascript"> </script>
    <script src="/services/EventFetchingClientSideService.js" type="text/javascript"> </script>
</head>
<body>
    <script type="text/javascript">
        var service = new dishdash.services.EventFetchingClientSideService();

        var getCategoriesCallback = function(response) {
            alert(response.Categories.length);
        };

        service.GetAllCategories(getCategoriesCallback);

    </script>
</body>
</html>
